<?php

/**
 * Base components for the jfJQMToolbarPlugin jfJQMToolbar module.
 * 
 * @deprecated use standalone http://jfjqmtoolbar.googlecode.com/svn/trunk/ instead
 *
 * @package     jfJQMToolbarPlugin
 * @subpackage  jfJQMToolbar
 * @author      Jonas Fischer <info@jonasfischer.net>
 */
abstract class BasejfJQMToolbarComponents extends sfActions
{

  public function executeToolbar()
  {
    $this->setupTemplateVars($request);
  }

  public function executeBottom()
  {
    $this->setupTemplateVars($request);
  }
  
  private function setupTemplateVars() {
  	$this->url = $this->url ? $this->url : $this->getRequest()->getUri();
  	$this->title = $this->title ? $this->title : $this->getResponse()->getTitle();
  }

}
